package top.chukongxiang.project.base;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import top.chukongxiang.project.base.oauth2.provider.cas.CasConfig;

/**
 * @author 楚孔响
 * @version 1.0
 * @date 2021/12/11 4:01
 */
@SpringBootApplication
@EnableTransactionManagement
@EnableConfigurationProperties({CasConfig.class })
@MapperScan(basePackages = { "top.chukongxiang.project.base.mapper" })
public class BaseApplication {

    public static void main(String[] args) {
        SpringApplication.run(BaseApplication.class, args);
    }

}


